from sqlalchemy import Column, Integer, String
from database.models.DatabaseCommon import Base


class UserInfo(Base):
    __tablename__ = 'UserInfo'
    id = Column(Integer, primary_key=True, autoincrement=True)
    Name = Column(String, default='0000')
    Passwd = Column(String, default='0000')

    def __repr__(self):
        return "<UserInfo(id='%d', TypeID='%d')>" % (
            self.id, self.TypeID)
